/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const router = {
  path: '/quotation',
  component: Layout,
  name: 'quotation',
  alwaysShow: true,
  meta: {
    title: '询价管理',
    icon: 'orders'
  },
  children: [
    {
      path: 'quotationList',
      component: () => import('@/views/quotation/quotationList'),
      name: 'quotationList',
      meta: {
        title: '询价列表'
      },
      children: []
    },
    {
      path: 'quotationDetail/:id',
      hidden: true,
      component: () => import('@/views/quotation/quotationDetail'),
      name: 'quotationDetail',
      meta: {
        activeMenu: '/quotation/quotationList',
        title: '询价详情'
      }
    }
  ]
}
export default router
